<div id="nav">
  <ul>
    <li<?php if($page == "Home") echo " class=\"active\""; ?>><a href="/~N02233598/2011/index.php">Home</a></li>
    <li<?php if($page == "Shop") echo " class=\"active\""; ?>><a href="/~N02233598/2011/shop.php">Shop</a></li>
    <li<?php if($page == "About") echo " class=\"active\""; ?>><a href="/~N02233598/2011/about.php">About</a></li>
   <li<?php if($page == "User") echo " class=\"active\""; ?>><a href="/~N02233598/2011/login/main.php">User</a></li>
</ul>
</div>